package co.com.jtune.controller.implementations;

import co.com.jtune.controller.TunePlayerController;
import co.com.jtune.model.TrackModel;
import co.com.jtune.model.TunePlayer;

public class TunePlayerControllerImpl implements TunePlayerController {
	
	private TunePlayer tunePlayer;
	
	public TunePlayerControllerImpl()
	{
		tunePlayer = TunePlayer.getTunePlayer();
	}

	public void play(TrackModel track) {
		tunePlayer.play(track);
	}

	public void pause() {
		tunePlayer.pause();
	}

	public void stop() {
		tunePlayer.stop();
	}

}
